package com.example.demo.dao;

import com.example.demo.domain.po.UserRole;
import org.apache.ibatis.annotations.Param;

import java.util.List;


/**
 * @Description:
 * @Author: zsg
 * @Date: 2018/07/06 09:21
 */
public interface UserRoleDao {

    List<UserRole> queryByUid(@Param("uid") Long uid);

    List<UserRole> queryByRid(@Param("rid") Long rid);

    void  insert(UserRole userRole);
}
